﻿using System;

namespace Renci.iRods.Common
{
    [AttributeUsage(AttributeTargets.Field, Inherited = false, AllowMultiple = false)]
    internal sealed class PacketEnumAttribute : Attribute
    {
        /// <summary>
        /// Gets the name.
        /// </summary>
        public string Value { get; private set; }

        public PacketEnumAttribute(string name)
        {
            this.Value = name;
        }
    }
}
